package com.jltx.xq.simplewatch.news.api;

import com.jltx.xq.simplewatch.commons.Config;
import com.jltx.xq.simplewatch.news.model.bean.WeChatResponse;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author jltxseo
 * @date 2017/08/22.
 * @description:
 */

public interface WeChatApi {
    @GET("/wxnew/index?key="+ Config.WECHAT_APP_KEY)
    Observable<WeChatResponse> getWeChatNews(@Query("num") int limitNum, @Query("page") int page);
}
